package com.app.game.chat;

import java.io.Serializable;
import java.security.Timestamp;

public class Message implements Serializable{

	private String messageText;
	private String playerName;
	private Timestamp time;
	
	public void setMessageText(String messageText) {
		this.messageText = messageText;
	}
	public void setPlayerName(String playerName) {
		this.playerName = playerName;
	}
	public void setTime(Timestamp time) {
		this.time = time;
	}
	
	public String getCompleteMessage(){
		return playerName +"("+time.toString()+"): "+messageText;
	}
}
